#{extends 'frame.html' /}

#{set title:'审核中的任务' /}



#{set 'moreStyles'}

<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/task/my.css'}" />

<link rel="stylesheet" media="screen" href="@{'/public/stylesheets/jquery.pagination.css'}" />

#{/set}



<div class="contentCard">

	<div class="contentTitle">

		<span class="iconfont">&#x3460;</span>

		 审核任务列表

	</div>

	<div class="contentBody">

		<div id="taskFilterPanel">

			<span class="floatLeft mr-8">任务审核状态</span>

			<select class="floatLeft mr-8" id="status">

				#{list items:taskStatus,as: 'ss'}

				<option value="${ss}" ${ss==status?'selected':''}>${ss.title}</option>

				#{/list}

			</select>

			<span class="floatLeft mr-8">平台种类</span>

			<select class="floatLeft mr-8" id="platform">

				<option value="">全部</option>

				#{list items:platforms,as: 'p'}

				<option value="${p}">${p.title}</option>

				#{/list}

			</select>

			<span class="floatLeft mr-8">终端</span>

			<select class="floatLeft mr-8" id="device">

				<option value="">全部</option>

				#{list items:devices,as: 'd'}

				<option value="${d}">${d.title}</option>

				#{/list}

			</select>

			<a class="stdColorButton floatLeft" id="queryBtn" href="javascript:;">查询</a>

		</div>

		<div class="taskWrapper" style="overflow: hidden;" id="taskContainer"></div>

		<div class="pagin-btm clearFix">

			<div class="pagination"></div>

		</div>

		<!--这里是分页区域-->

		<div class="taskPagination"></div>

		<div class="popWrapper" style="display: none;" id="tr_loading_mask">

			<div class="maskLayer"></div>

			<img class="tr_juhua" src="@{'/public/images/pre_loading.gif'}" />		

		</div>

	</div>

</div>

<!--Pop Window-->

<div class="popWrapper" id="boostWnd">

	<div class="maskLayer"></div>

	<div class="modalWnd">

		<a href="javascript:void(0);" class="wnd_Close_Icon" title="关闭窗口"></a>

		<h3 class="topTile">加速任务审核</h3>

		<div class="modalWndInner">

			<div id="stepShower-1">

				<div class="panelLine">

					<span class="num-list-flag floatLeft mr-4">1</span>

					<span class="floatLeft mr-8">升级为推荐任务并提升排名</span>

					<span class="floatLeft grey">增加金币越多，推荐任务排名越靠前</span>

				</div>

				<div class="panelLine">

					<input class="rad ls floatLeft" type="radio" name="r_plus_period" checked="checked">

					<span class="floatLeft ls">+10&nbsp;金币</span>

					<input class="rad ls floatLeft" type="radio" name="r_plus_period">

					<span class="floatLeft ls">+20&nbsp;金币</span>

					<input class="rad ls floatLeft" type="radio" name="r_plus_period">

					<span class="floatLeft ls">+30&nbsp;金币</span>

				</div>

				<hr/>

				<div class="panelLine">

					<span class="num-list-flag floatLeft mr-4">2</span>

					<span class="floatLeft mr-8">加赏任务佣金</span>

					<span class="floatLeft grey">增加符点越多，买手完成人物的积极性越大，买手会优先完成</span>

				</div>

				<div class="panelLine">

					<a href="javascript:;" class="inputCheckBox floatLeft" style="margin-top:2px;">&nbsp;</a>

					<span class="floatLeft mr-8">每单加赏佣金</span>

					<input class="inputText floatLeft short mr-8" type="text" value="" id="txtPlusComm" />

					<span class="floatLeft mr-8">金币，共计</span>

					<span class="floatLeft">

						<span class="count">9</span>

						单x

						<span class="add red">2</span>

						金币=

						<span class="add red">18</span>

						符点

					</span>

				</div>

			</div>

			<div id="stepShower-2" style="display:none;">

				<div class="secondTile">选择支付方式</div>

				<div class="panelLine">

					<a href="javascript:;" class="inputCheckBox floatLeft" style="margin-top:2px;">&nbsp;</a>

					<span class="floatLeft mr-8">使用金币支付</span>

					<span class="floatLeft mr-4">可用金币</span>

					<span class="mr-20 orange floatLeft">100</span>

					<span class="floatLeft grey">1点=1元</span>

				</div>

				<div class="panelLine">

					<a href="javascript:;" class="inputCheckBox floatLeft" style="margin-top:2px;">&nbsp;</a>

					<span class="floatLeft mr-8">使用押金支付</span>

					<span class="floatLeft mr-4">可用押金</span>

					<span class="mr-4 orange floatLeft">100</span>

					<span class="floatLeft">元</span>

				</div>

			</div>

		</div>

		<div class="wndBotButtonSection">

			<a href="javascript:;" class="botButton btnPay">去支付</a>

			<a href="javascript:;" class="botButton btnNext">

				下一步

				<span class="iconfont">&#xf016d;</span>

			</a>

			<a href="javascript:;" class="botButton btnPrev" style="display:none;">

				<span class="iconfont">&#xf016e;</span>

				上一步

			</a>

		</div>



	</div>



</div>



<!--Cancel window-->

<div class="popWrapper" id="cancelWnd">

	<div class="maskLayer"></div>

	<div class="modalWnd">

		<a href="javascript:;" class="wnd_Close_Icon" title="关闭窗口"></a>

		<h3 class="topTile">撤销未接单任务</h3>

		<div class="modalWndInner">

			<div class="content-info">

				<p>

					<span class="mr-4">当前任务还有</span>

					<span class="red mr-4">1</span>

					<span>单未接手</span>

					<br/>

					<span class="mr-4">撤销将解冻押金</span>

					<span class="red mr-4">112</span>

					<span class="mr-4">元，退回金币</span>

					<span class="red mr-4">112</span>

					<span>个</span>

				</p>



			</div>



		</div>

		<div class="wndBotButtonSection">

			<a href="javascript:;" class="botButton btnPay">确认</a>

		</div>

	</div>

</div>

<!--Task Template-->

<textarea id="taskCellTemp" class="muban">

	{{#results}}

	<div class="taskCell">

		<div class="title">

			<span class="operation">

				{{#isNotPass}}

				<a class="cancel btn" href="/task/publish/edit/{{taskId}}">

					<span class="iconfont">&#xf013a;</span>

					修改

				</a>

				{{/isNotPass}}

			</span>

			<span class="shop floatLeft mr-20"> <i class="plat_small {{platIcon}}"></i>

				{{shopName}}

			</span>

			<span class="taskNo floatLeft mr-4">

				任务编号：

				<span>{{taskId}}</span>

			</span>

			<a target="_blank" href="/seller/task/{{taskId}}" class="floatLeft view-detail">[详情]</a>

		</div>

		<div class="body">

			<table class="normTable">

				<thead>

					<tr>

						<td class="item-list"></td>

						<td class="doing"></td>

						<td class="doing"></td>

					</tr>

				</thead>

				<tbody>

					<tr>

						<td class="item-list">

							<div class="item-box">

								<div class="pic">

									<img src="{{itemPic}}" />

								</div>

								<p class="title tl">{{itemTitle}}</p>

							</div>

							<!-- <div class="item-box">

								<div class="pic">

									<img src="{{additionalItemPicUrl}}_100x100" />

								</div>

								<p class="title">{{additionalItemTitle}}</p>

							</div> -->

						</td>

						<td class="doing">

							<em class="cap">创建时间</em>

							{{createTimeStr}}

						</td>

						<td class="doing">

							<em class="cap">审核时间</em>

							{{examineTimeStr}}

						</td>

						<td class="doing">

							{{#isNotPass}}

							<em class="cap">审核不通过原因</em>

							{{/isNotPass}}

							<div class="refuseReason" title="{{#examineLog}}{{memo}}{{/examineLog}}" style="height:30px;">{{#examineLog}}{{memo}}{{/examineLog}}</div>

						</td>

					</tr>

				</tbody>



			</table>



		</div>

	</div>

	{{/results}}

</textarea>

<!-- 悬浮窗 -->

<!-- <div id="examineReasonFloatDiv">

	<div class="clearfix">

	    <div class="clearfix">

		</div>

	</div>

</div> -->

#{set 'moreScripts'}

<script src="@{'/public/javascripts/jquery.pagination.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/mustache.min.js'}" type="text/javascript"></script>

<script src="@{'/public/javascripts/task/examine.js'}" type="text/javascript"></script>

<script type="text/javascript">

	App.module = 'myTask';

</script>

#{/set}